/*
 * Decompiled with CFR 0.150.
 */
package com.gys.common.data;

import com.gys.controller.dataManger.OnlineOfflineManger;

public abstract class GetBaseInData {
    protected Integer onlineOffline = OnlineOfflineManger.onlineOffline;
    protected int pageNum;
    protected int pageSize;

    public Integer getOnlineOffline() {
        return this.onlineOffline;
    }

    public int getPageNum() {
        return this.pageNum;
    }

    public int getPageSize() {
        return this.pageSize;
    }

    public void setOnlineOffline(Integer onlineOffline) {
        this.onlineOffline = onlineOffline;
    }

    public void setPageNum(int pageNum) {
        this.pageNum = pageNum;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }

    public boolean equals(Object o) {
        if (o == this) {
            return true;
        }
        if (!(o instanceof GetBaseInData)) {
            return false;
        }
        GetBaseInData other = (GetBaseInData)o;
        if (!other.canEqual(this)) {
            return false;
        }
        Integer this$onlineOffline = this.getOnlineOffline();
        Integer other$onlineOffline = other.getOnlineOffline();
        if (this$onlineOffline == null ? other$onlineOffline != null : !(this$onlineOffline).equals(other$onlineOffline)) {
            return false;
        }
        if (this.getPageNum() != other.getPageNum()) {
            return false;
        }
        return this.getPageSize() == other.getPageSize();
    }

    protected boolean canEqual(Object other) {
        return other instanceof GetBaseInData;
    }

    public int hashCode() {
        int PRIME = 59;
        int result = 1;
        Integer $onlineOffline = this.getOnlineOffline();
        result = result * 59 + ($onlineOffline == null ? 43 : ($onlineOffline).hashCode());
        result = result * 59 + this.getPageNum();
        result = result * 59 + this.getPageSize();
        return result;
    }

    public String toString() {
        return "GetBaseInData(onlineOffline=" + this.getOnlineOffline() + ", pageNum=" + this.getPageNum() + ", pageSize=" + this.getPageSize() + ")";
    }
}

